<!-- setMailingList.html -->
<div class="span12 well  well-small " data-postid="[[postid]]" data-field="[[field]]">
    <p >1/ Select Contacts, Accounts or Leads above,
    <br/>2/ and add them to the list below.
</p>
    <div class="apm_childtable"> 
        <input type="hidden"  class="field_mailinglist" name='[[field]]' value="[[value]]" /> 
        <div class="navbar">
            <div class="navbar-inner">
                <a class="apm_table_label">Add to the List </a>
                <a  title="Add a contact" class="btn btn-info btn-mini hasTooltip add_contact_list" target="_blank" rel="tooltip"><i class="icon-plus icon-white"></i> Contact</a> 
                <a  title="Add an account" class="btn btn-info btn-mini hasTooltip add_account_list" target="_blank" rel="tooltip"><i class="icon-plus icon-white"></i> Account</a> 
                <a  title="Add a lead" class="btn btn-info btn-mini hasTooltip add_lead_list" target="_blank" rel="tooltip"><i class="icon-plus icon-white"></i> Lead</a>       

                <a  data-placement="left" data-original-title="Delete Selected rows"  rel="tooltip" class="disabled files_grid_actions btn btn-mini btn-warning  hasTooltip do_deleterow_list"><i class="icon-remove icon-white"></i></a>            
                <a  data-placement="left" data-original-title="Select / Unselect All rows"  rel="tooltip" class="disabled files_grid_actions btn btn-mini btn-info  hasTooltip do_selectrow_list"><i class="icon-check icon-white"></i></a> 
            </div>
        </div> 
    <p class="info-small">NOTE: the list will only be saved when you'll click 'Save'</p>  
        <table class="table table-striped table-bordered table-hover table-condensed" width="100%">
            <thead>
                <tr>
                    <th width="5%">Sel.</th><th width="45%">Name</th><th width="25%">Type</th><th width="25%">Email</th>
                </tr>
            </thead>
            <tbody class="apm_tablebody"  data-nb_cols="4">
                <tr data-row_id="noitem">
                    <td colspan="4">No items</td>
                </tr>
            </tbody>
        </table>
    </div>
</div>
